package indi.zhifa.study2024.class002.busy.generalTest.business.report.consign.entity.mapperIn;

import indi.zhifa.study2024.class002.busy.generalTest.enums.bill.consign.EConsignReportOrderType;
import indi.zhifa.study2024.class002.busy.generalTest.enums.common.EOrderType;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class ConsignMapperIn {
    String itemName;
    Long itemId;
    String mainType;
    String segmentType;
    String brand;
    Long customerId;
    String customerName;
    Long salesId;
    String salesName;
    Long billTimeBegin;
    Long billTimeEnd;


    boolean selectItemInfo;
    boolean selectCustomerInfo;
    boolean selectSalesInfo;

    boolean isGroup;
    List<String> groups;
    boolean joinItem;
    boolean groupItem;

    EConsignReportOrderType consignOrderType;
    EOrderType orderType;

    boolean isPage;
    Integer offset;
    Integer limit;

    public ConsignMapperIn(){
        isGroup = true;
        groups = new ArrayList<String>();
        joinItem = false;
        consignOrderType = EConsignReportOrderType.BILL_TIME;
        orderType = EOrderType.NONE;
        isPage = true;

        selectItemInfo = false;
        selectCustomerInfo = false;
        selectSalesInfo = false;
    }
}
